package com.fancy.common.results;

import java.io.Serializable;

/**
 * 结果基类
 * 
 * @author xinfeng.hu 2013-3-19下午2:29:15
 * @version 1.0.0
 * @category 杭州广桥网络技术有限公司(商业先知)
 */
public class Results<T> implements Serializable {

	/**
	 * 序列化版本号
	 */
	private static final long serialVersionUID = -8588831618683640542L;

	/**
	 * 执行结果
	 */
	private boolean success;

	/**
	 * 消息
	 */
	private String message;

	/**
	 * 结果
	 */
	private T object;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getObject() {
		return object;
	}

	public void setObject(T object) {
		this.object = object;
	}
}
